<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="ctl00_Head1">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="{$site_url}/">

<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<title>{$page_title}</title>
<!--{css(global.css)}-->
<!--{css(u.css)}-->
            <style type="text/css">

.hint{clear:left;color:#989898;float:left;font-size:12px;margin-left:110px;width:300px}

		 </style>
<script language="JavaScript">
<!--
function changImg(id){
document.getElementById(id).src ='{SITE_URL}/check_image.php?'+Math.random(1);
}
//-->
</script>         
            
<title>
	用户注册
</title></head>
<body>

<!--{inc (user/header_group.view.html)}-->      

        
        
	<div class="wrap w800">
		<div class="actmain">
			<div class="actname" style="width:820px;">
				如果您曾通过牡丹商城目录或专卖店购买过商品，但还没有在牡丹商城注册，请点击<a target="_blank" href="?app=user&act=reg">牡丹商城用户网上激活</a>，成为牡丹商城会员。</div>

			<h2>
				填写注册信息-设置用户名和密码</h2>
 <form action="?app=user&act=doreg" method="post"   > 

			<fieldset>

				<legend>填写注册信息</legend>
				<div class="clearfix">
					<label for="ctl00_cpBody_email">
						Email地址：</label>
					<input name="data[email]" type="text" id="ctl00_cpBody_email" class="text" />
					 <span class="hint">登录及找回密码用</span> 
				</div>

				<div class="clearfix">
					<label for="ctl00_cpBody_email">
						用户名：</label>
					<input name="data[username]" type="text" id="ctl00_cpBody_email" class="text" />
					<span class="hint">4-16 个字符，一个汉字为两个字符</span>
				</div>
				
				<div class="clearfix">

					<label for="ctl00_cpBody_psd">
						设置密码：</label>
					<input name="data[password]" type="password" id="ctl00_cpBody_psd" class="text" maxlength="30" />
					 <span class="hint">最少 4 个字符</span> 
				</div>
				
				<div class="clearfix">
					<label for="ctl00_cpBody_vpsd">
						确认密码：</label>

					<input name="data[check_passwd]" type="password" id="ctl00_cpBody_vpsd" class="text" maxlength="30" />

				</div>
				
				<div class="clearfix">
					<label for="ctl00_cpBody_vpsd">
						用户类型：</label>
	<select name="data[user_type]" style="font-size: 16px;height: 30px;line-height: 30px;width: 200px;border: 1px solid #A7A6AA;margin: 0;padding: 3px 2px 0;">
		<option value="0"  >请选择用户类型....</option>
	
<?php foreach((array)$usertypedata as $_key => $_value ) { ?>
                                           
		<option value="{$_value.id}"  >{$_value.name}</option>
                
<?php } ?>
	
	</select> 
				
				</div>				
				
  <!--{if (REGISTER_VERYCODE)}-->              
				<div class="clearfix" id="valibox">
					<label for="ctl00_cpBody_checkimg">
						验证码：</label>
					<input name="yzImgNum_s_yz" type="text"  class="text checkinput" maxlength="4" />
					<img id="cheimg" style="vertical-align:bottom" title="看不清，换一个" src ="{SITE_URL}/check_image.php" onClick="changImg('cheimg');" width="90" height='35'>点击图片，换一个
                    

				</div>
 <!--{/if}-->               
				<div class="clearfix align">
					<input type="checkbox" checked="checked" class="checkbox" id="chkAgreement" name="chkAgreement" />
					我已阅读并同意<a href="#" target="_blank">《牡丹商城用户服务协议》</a> <span class=""></span>
				</div>

				<div class="clearfix align">
					<input type="submit"  value="提交注册信息"   class="sbt_reg" />
				</div>
			</fieldset>


			</form>

		</div>
	</div>

<!--{inc (user/footer_group.view.html)}-->
</body>
    

</html>
